#ifndef COMMON_WGT_H
#define COMMON_WGT_H

#include <QGraphicsDropShadowEffect>
#include <QWidget>
#include <QString>
#include <qdesktopwidget.h>
#include <QApplication>

enum widgetType {
    PushButton = 0,
    LineEdit
};

//界面阴影
extern void setDialogShadow(QWidget *widget, QWidget *widgetShadow);
//设置控件样式
extern void setCommonWidgetStyle(int widgetType,QWidget *widget);

extern void moveWgtCenter(QPair<double,double>& movePoint,QWidget *wgt);
#endif // COMMON_WGT_H
